package cn.itcast.service;

import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface AccountService {
    /**
     * 转账
     * @param from 转账人
     * @param to 收款人
     * @param money 转账金额
     */
    void transfer(Integer from, Integer to, Double money);
}
